package cn.b.sky.mes.andon.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import cn.b.sky.common.model.ImeCommon;
import org.apache.commons.lang3.StringUtils;

/**
 * <strong>Title : AndonEvent.java<br></strong>
 * <strong>Package : cn.b.sky.mes.andon.model<br></strong>
 * <strong>Description : </strong>暗灯事件<br> 
 * <strong>Create on : 2016年10月13日 下午5:46:22<br></strong>
 * <p>
 * @author ShiYing.Ke<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人|修改日期|修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public class AndonEvent extends ImeCommon implements Serializable {

	/** 
	* @Fields serialVersionUID
	* @creator     :ShiYing.Ke
	*/ 
	private static final long serialVersionUID = 1L;
	
	/** 
	* @Fields eventCode : 事件编号
	* @creator     :ShiYing.Ke
	*/ 
	private String eventCode;
	
	/** 
	* @Fields eventText : 描述
	* @creator     :ShiYing.Ke
	*/ 
	private String eventText;
	
	/** 
	* @Fields service : 服务
	* @creator     :ShiYing.Ke
	*/ 
	private String service;
	
	List<AndonEventProcess> andonEventProcessList = new ArrayList<AndonEventProcess>();

	public String getEventCode() {
		return StringUtils.upperCase(eventCode);
	}

	public void setEventCode(String eventCode) {
		this.eventCode = eventCode;
	}

	public String getEventText() {
		return eventText;
	}

	public void setEventText(String eventText) {
		this.eventText = eventText;
	}

	public String getService() {
		return service;
	}

	public void setService(String service) {
		this.service = service;
	}

	public List<AndonEventProcess> getAndonEventProcessList() {
		return andonEventProcessList;
	}

	public void setAndonEventProcessList(
			List<AndonEventProcess> andonEventProcessList) {
		this.andonEventProcessList = andonEventProcessList;
	}

}
